|
SDK/J Authentication Package ver1.0 RICOH Confidential |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjp.co.ricoh.dsdk.scard.framework.card.Card.IO
This is the class that encapsulates input and output operation of a card.
| Method Summary | |
byte[] |
control(int code,
byte[] buffer)
Transmits a control command. |
byte[] |
control(int code,
byte[] buffer,
int index,
int length)
Transmits a control command. |
byte[] |
getAttribute(int id)
Obtains the attribute. |
APDU |
transmit(APDU apdu)
Transmits an APDU command to a card. |
byte[] |
transmit(byte[] buffer)
Transmits the content of a specified buffer to a card. |
byte[] |
transmit(byte[] buffer,
int index,
int length)
Transmits the content of a specified buffer to a card. |
ResponseAPDU |
transmit(RequestAPDU command)
Transmits a command apdu to a card . |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public APDU transmit(APDU apdu)
throws CardAccessException
apdu - an APDU command to transmit.
CardAccessException -
when an error has occurred in communicating with the card.
public ResponseAPDU transmit(RequestAPDU command)
throws CardAccessException,
APDUException
command - command apud
.
CardAccessException - when an error has occurred in communicating with the card
.
APDUException - when APDU is initialized incorrectly
.
public byte[] transmit(byte[] buffer)
throws CardAccessException
buffer -
the buffer containing the content to transmit.
CardAccessException -
when an error has occurred in communicating with the card.
public byte[] transmit(byte[] buffer,
int index,
int length)
throws CardAccessException
buffer -
the buffer containing the content to transmit.index -
the start position of the content to transmit.length -
the length of the content to transmit.
CardAccessException -
when an error has occurred in communicating with the card.
public byte[] control(int code,
byte[] buffer)
throws CardAccessException
code - a control code.buffer -
the buffer containing the command .
CardAccessException -
when an error has occurred in communicating with the card.
public byte[] control(int code,
byte[] buffer,
int index,
int length)
throws CardAccessException
code - a control code.buffer -
the buffer containing the command .index - the start position of the command.length - the length of the command.
CardAccessException -
when an error has occurred in communicating with the card.
public byte[] getAttribute(int id)
throws CardAccessException
id - an attribute ID.
CardAccessException -
when an error has occurred in communicating with the card.
|
SDK/J Authentication Package ver1.0 RICOH Confidential |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||